//
//  CustomDemoConfig.h
//  CustomDemo
//
//  Created by 余意 on 2016/12/20.
//  Copyright © 2016年 余意. All rights reserved.
//

#ifndef CustomDemoConfig_h
#define CustomDemoConfig_h


#endif /* CustomDemoConfig_h */

#define  DEVICE_SYSTEM_VERSION     [[[UIDevice currentDevice] systemVersion] floatValue]

#define  SCREEN_WIDTH              [UIScreen mainScreen].bounds.size.width
#define  SCREEN_HEIGHT             [UIScreen mainScreen].bounds.size.height

#define  RGBA(R,G,B,A)             [UIColor colorWithRed:R / 255.0 green:G / 255.0 blue:B / 255.0 alpha:A]

#define  RANDOMCOLOR               RGBA(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256))

#define  PARALLAXCELL_HEIGHT        (184 * SCREEN_WIDTH / 375.0)

